package util

import (
	"time"
)

func TodayStartEnd() (int64, int64) {
	now := time.Now()
	today, _ := time.Parse(time.DateTime, now.Format(time.DateTime))
	return today.Unix(), today.Unix() + 86400 - 1
}

func Timestamp() int64 {
	return time.Now().Unix()
}
